package com.book.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.business.entity.BookLove;
import com.book.common.entity.QueryRequest;

import java.util.List;

/**
 * @Author: 盛佳帅
 * @Description:  20173953
 */

public interface BookLoveService extends IService<BookLove> {
    /**
     * @Description:查所有
     */
    List<BookLove> findBookLove(BookLove bookLove);

    /**
     * @Description:分页
     */
    IPage<BookLove> pageBookLove(QueryRequest request, BookLove bookLove);

    /**
     * @Description:新增
     */
    void addBookLove(BookLove bookLove);

    /**
     * @Description:修改
     */
    void updateBookLove(BookLove bookLove);

    /**
     * @Description:复选删除
     */
    void deleteBookLove(String[] bookLove);

    /**
     * @Description:复选支付
     */
    List<BookLove> payBookLove(String[] bookLove);
}
